Use the native commands to configure the NTP server on the SLX device. The configuration is persisted in the XCO database. DRC is supported.
efa inventory device ntp server create ?
Flags:
--ip string Comma separated range of device IP addresses.
--ntp-ip string NTP server IP address
--auth-key int Authentication key ID. Values 1 to 65535
--auth-key-name string Key name
--encryption-type string Encryption type. Valid values are md5, sha1
--trusted-key bool Trusted key.
--fabric string fabric name
Example:
efa inventory device ntp server create –ntp-ip 3.3.3.3 –-auth-key 1 –-auth-key-name ntpsecret –-encryption-type md5 –trusted-key –-ip 10.20.246.10 efa inventory device ntp server create –ntp-ip 3.3.3.3 –-auth-key 1 –-auth-key-name ntpsecret –-encryption-type md5 –trusted-key –-fabic clos_fabric
SLX# show running-config ntp ntp authentication-key 1 md5 $9$750C7e0ayuI31YUga1Clmg== encryption-level 7 ntp authenticate ntp server 3.3.3.3 key 1
efa inventory device ntp server delete ?
Flags:
--ip string Comma separated range of device IP addresses.
--ntp-ip string NTP server IP address
--fabric string fabric name
Example:
efa inventory device ntp server delete –-ntp-ip 3.3.3.3 –-ip 10.20.246.10 efa inventory device ntp server delete –-ntp-ip 3.3.3.3 –-fabric clos_fabric
efa inventory device ntp server list ?
Flags:
--ip string Comma separated range of device IP addresses.
--fabric string fabric name
Example:
efa inventory device ntp server ntp server list –-ip 10.20.246.10 efa inventory device ntp server ntp server list –-fabric clos_fabric
efa inventory device ntp disable-server ?
Flags:
--ip string Comma separated range of device IP addresses.
--enable Disable ntp server. Valid values are yes/no.
--list List disable-server on devices.
--fabric string fabric name
efa inventory device ntp disable-server –-enable yes –-ip 10.20.246.10
efa inventory device ntp disable-server –-enable no –-ip 10.20.246.10
efa inventory device ntp disable-server –-enable yes –-fabric clos_fabric
efa inventory device ntp disable-server –-enable no –-fabric clos_fabric
efa inventory device ntp disable-server --list --ip 10.20.246.10
efa inventory device ntp disable-server --list --fabric clos_fabric